package io.geekidea.boot.allocation.dto;


import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
@ToString(callSuper = true)
public class AllocationExcel implements Serializable {


    @TableField("transferNum")
    @ExcelProperty("调拨单号")
    private String transferNum;

    @TableField(exist = false)
    @ExcelProperty("调出战区")
    private String areaOutName;
    @TableField(exist = false)
    @ExcelProperty("调出门店")
    private String storesOutName;
    @TableField(exist = false)
    @ExcelProperty("调入战区")
    private String areaInName;
    @TableField(exist = false)
    @ExcelProperty("调入门店")
    private String storesInName;
    @TableField(exist = false)
    @ExcelProperty("制单人")
    private String Acceptor;
    @TableField(exist = false)
    @ExcelProperty("验收人")
    private String MakeSingle;


    @TableField("materialTypeNum")
    @ExcelProperty("物料种数")
    private Integer materialTypeNum;
    @ExcelProperty("物料数量")
    @TableField("materialNum")
    private Integer materialNum;
    @TableField("money")
    @ExcelProperty("合计金额")
    private Integer money;

    @TableField("creatorTime")
    @ExcelProperty("制单时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8",shape = JsonFormat.Shape.STRING)
    private LocalDateTime creatorTime;

    @TableField("completeTime")
    @ExcelProperty("完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8",shape = JsonFormat.Shape.STRING)
    private LocalDateTime completeTime;


}
